package com.kk.demo.unsface.two.create2;

public class MyClass2 {

    private static final long a;

    static {
        System.out.println("执行静态块");
        a = 10;
    }
    
    {
        System.out.println("执行非静态代码块");
    }
    
    public MyClass2()
    {
        System.out.println("执行构造函数");
    }

    public static long getAvalue() {
        return a;
    }

}
